package com.cn.yang.service;

import com.cn.yang.model.mainPage.HeadAndFootModel;
import com.cn.yang.model.mainPage.HeadLinkModel;
import com.cn.yang.model.mainPage.MainPageModel;

import java.util.List;

public interface MainPageService {
    HeadAndFootModel selectHeadFoot();

    int updataHeadFoot(HeadAndFootModel model);
    List<HeadLinkModel> selectHeadLink();

    int addHeadLink(HeadLinkModel model);

    HeadLinkModel selectHeadLinkById(Integer id);

    int updateById(HeadLinkModel model);

    int deleteHeadLink(String id);

    List<MainPageModel> findMainPage(MainPageModel model);

    int countMainPage();

    MainPageModel selectById(Integer id);

    int updateMainPage(MainPageModel model);
}
